<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="@{include} :: header"></head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <div class="layui-row">
            <form style="margin: 10px 10px 10px 10px" class="layui-form layui-form-pane" id="signupForm">
                <input id="id" name="id" th:value="${oa.id}" type="hidden">
                <div class="layui-form-item">
                    <label class="layui-form-label">标题名称</label>
                    <div class="layui-input-block">
                        <input id="title" name="title" th:value="${oa.title}" placeholder="请输入标题名称" class="layui-input" type="text">
                    </div>
                </div>
                <div class="layui-form-item" >
                    <label class="layui-form-label" th:text="${userTypeName}"></label>
                    <div class="layui-input-block">
                        <input type="checkbox" th:each="user:${users}" name="receiveUserIds" lay-skin="primary" th:value="${user.userId}"
                               th:title="${user.name}" />
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">内  容</label>
                    <div class="layui-input-block">
                        <textarea name="msgContent" th:text="${oa.msgContent }" placeholder="这里输入下发内容" style="height: 100px;resize:none;" class="layui-textarea"></textarea>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div style="text-align: center;margin-top: 20px">
                        <button type="submit" onclick="update()" class="layui-btn layui-btn-lg layui-btn-normal" >提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" th:src="@{/js/appjs/module/oa/detail.js}"></script>
</body>
</html>
